<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Lucar-维修页面</title>
</head>

<link rel="stylesheet" type="text/css" href="lucar-css/head-css.css" />
<link rel="stylesheet" type="text/css" href="lucar-css/carRepair-css.css" />

<body>
	<div id="head">
    	<div id="h-logo">
        	<img src="lucar-image/logo.png" class="hl">
        </div>
        <div id="h-right">
        	<span id="hr-useCar" class="hr-span" onmouseover="headimg(1);" onMouseOut="headimg(2);">
            	<img id="uCOut" src="lucar-image/useCar-Out.png" class="hr-image" style="display:block">
            	<img id="uCOn" src="lucar-image/useCar-On.png" class="hr-image" style="display:none">
            </span>
            <span id="hr-aboutUs" class="hr-span" onmouseover="headimg(3);" onMouseOut="headimg(4);">
            	<img id="aUOut" src="lucar-image/aboutUs-Out.png" class="hr-image" style="display:block">
            	<img id="aUOn" src="lucar-image/aboutUs-On.png" class="hr-image" style="display:none">
            </span>
            <span id="register" class="button" onMouseOver="headbutton(1);" onMouseOut="headbutton(2);"><b class="hr-text">注册</b></span>
            <span id="login" class="button" onMouseOver="headbutton(3);" onMouseOut="headbutton(4);"><b class="hr-text">登录</b></span>
        </div>
    </div>
    <div id="carRepair-body">
    	<form>
    		<div id="cR-head">
            	<label id="cR-No">保修订单号：</label><input type="text" id="cRN-input" name="r.rid" value="123456" readonly="true"/>
                <label id="cR-time">保修日期：</label><input type="text" id="cRT-input" name="r.repairTime" value="123456" readonly="true"/>
        	</div>
            <div id="cR-body">
            	<div id="carImg"></div>
                <span id="userId_span">用户id:</span>
                <input type="text" id="userId" name="r.userId" value="10086" readonly="true">
                <span id="carId_span">请输入车的Id：</span>
                <input type="text" id="carId" name="r.carId" value="14214213">
                <span id="repair_span">选择维修类型：</span>
                <select id="repairType" name="r.repairType">
                	<option>断电抛锚</option>
                    <option>水温过高</option>
                    <option>车祸事故</option>
                    <option>引擎着火</option>
                </select>
                <span id="rremarks_span">请描述一下损坏的情况：</span>
                <textarea id="rremarks">2131231</textarea>
            </div>
            <input type="submit" value="上交" id="cR-submit"/>
        </form>
    </div>
</body>

<script src="lucar-script/head-script.js"></script>
<script type="text/javascript">
window.onload = function(){
	function box(){
		var oBox = document.getElementById("carRepair-body");
		var L1 = oBox.offsetWidth;
		var Left = (document.documentElement.clientWidth-L1)/2;
		oBox.style.left = Left+'px';
	}
	box();
	window.onresize = function(){
        box();
    }
}

</script>

</html>
